package XML;

public class DeleteTag {
	TagXML t;
	TagXML radacina;
	
	public DeleteTag(TagXML t, TagXML radacina) {
		super();
		this.t = t;
		this.radacina = radacina; //lucrezi cu radacina
	}
	
	public DeleteTag() {
		super();
	}

	public TagXML getT() {
		return t;
	}

	public void setT(TagXML t) {
		this.t = t;
	}

	public TagXML getRadacina() {
		return radacina;
	}

	public void setRadacina(TagXML radacina) {
		this.radacina = radacina;
	}
	
	public void execute(){
		t.taguri.remove(radacina); // primul vector -taguri
	}
}
